public class Pring0_130By5 {
    public static void main(String[] args){
        int i = 0;
        while (i<=130){
            while (i%5!=0){
                System.out.print(i+"\t");
                i++;
            }
            System.out.print("\n" + i+"\t");
            i++;
        }
        System.out.println("\n"+"********************");
        //
        int j =0;
        while (j<=130){
            System.out.print(j+"\t");
            if ((j+1)%5==0&&j!=0){
                System.out.println();
            }
            j++;
        }
    }
}
